package client;

import io.netty.channel.ChannelFuture;
import lombok.extern.slf4j.Slf4j;

@Slf4j
public class Netty4Client implements Client{
    private ChannelFuture channelFuture;
    private String key;
    private int connectionTimeout;

    public Netty4Client(ChannelFuture future, String key, int connectionTimeout) {
        this.channelFuture = future;
        this.key = key;
        this.connectionTimeout = connectionTimeout;
    }


    @Override
    public Object invokeSync(Object msg, int timeout, int codecType, int protocolType) throws Exception {
        return null;
    }

    @Override
    public Object invokeSync(String targetInstanceName, String methodName, String[] argTypes, Object[] types, int timeout, int codecType, int protocolType) throws Exception {
        return null;
    }
}
